package com.yidu.qianfeng.service.impl;

import com.yidu.qianfeng.common.bean.company.CompanyInfo;
import com.yidu.qianfeng.mapper.CompanyMapper;
import com.yidu.qianfeng.service.CompanyServiceInter;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 张兴兴
 * @date 2021/3/16 16:01
 */
@Service
public class CompanyServiceImpl implements CompanyServiceInter {

    @Resource
    private CompanyMapper mapper;

    @Override
    public int updateCompanyInfo(CompanyInfo info) {
       return mapper.updateCompanyInfo(info);
    }

    @Override
    public CompanyInfo queryCompanyInfo(String comUserAccount) {
        return mapper.queryCompanyInfo(comUserAccount);
    }
}
